function foo() {}
var bar = function () {}
function* baz() {}
var obj = { get foo() {}, set foo(val) {}, bar() {} };
class Foo { constructor() {} *method() {} }